﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="ss" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>登录</title>
    <style>
        form span {
            display: inline-block;
            width: 80px;
            text-align: right
        }

        #main {
            margin: 100px auto;
            border: 1px solid #ccc;
            width: 350px;
            padding: 0 30px 30px 30px
        }

        form a {
            font-size: 12px;
            float: right;
            margin-right: 50px;
        }
    </style>
</head>
<body>
<div id="main">
    <h2>登录医院管理系统</h2>
    <hr color="#ccc">
    <br>
    <form action="${pageContext.request.contextPath}/persons/login" method="post">
        <span>${err}</span>
        <span>用户名:</span> <input name="uname" type="text"><br><br>
        <span>密码:</span> <input name="pwd" type="password"><br><br>
        <span></span><input value="登录" type="submit">

    </form>
</div>

</body>
</html>